package cn.funeralobjects.upms.model;

import cn.funeralobjects.util.annotation.ArgHasLength;
import cn.funeralobjects.util.annotation.ArgNonNull;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * 登陆用户
 *
 * @author FuneralObjects
 * Create date: 2020/5/11 5:05 PM
 */
@Data
@Accessors(chain = true)
public class LoginUser {
    /**
     * 所属用户id
     */
    @ArgNonNull
    private Integer userId;
    /**
     * 密码
     */
    @ArgHasLength
    private String password;
    /**
     * 登录名
     */
    @ArgHasLength
    private String name;
    /**
     * 编码
     */
    @ArgHasLength
    private String code;
}
